package demo;

import java.util.List;

public class Order {
    private Maker maker = new Maker();

    public void noticeOrder(List<Food> list) {
        System.out.println("通知maker做饭");
        list.forEach(item -> {
            maker.make(item);
        });
    }

    public Boolean getMakeInfo(Food food) {
        return maker.getInfo(food);
    }
}
